/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	
	config.filebrowserUploadUrl = '/server/fileUpload.do';
    config.filebrowserImageUploadUrl = '/server/imageUpload.do'; 
    config.filebrowserFlashUploadUrl = '/server/mediaUpload.do';
    
    //可选的表情替代字符 plugins/smiley/plugin.js.
//	config.smiley_descriptions = [
//		':)', ':(', ';)', ':D', ':/', ':P',
//		'', '', '', '', '', '',
//		'', ';(', '', '', '', '',
//		'', ':kiss', '' ];
    
	//对应的表情图片 plugins/smiley/plugin.js
	config.smiley_images = [
		'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
		'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
		'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
		'broken_heart.gif','kiss.gif','envelope.gif'];
		
	//表情的地址 plugins/smiley/plugin.js
	config.smiley_path = '/js-lib/ckeditor-3.6.2/plugins/smiley/images/';
	
	//页面载入时，编辑框是否立即获得焦点 plugins/editingblock/plugin.js plugins/editingblock/plugin.js.
	config.startupFocus = false;
};
